package com.jzr.board.db1.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jzr.board.db1.mapper.MyPatientMapper;
import com.jzr.board.db1.mapper.TPatientMapper;
import com.jzr.board.db1.model.TPatient;
import com.jzr.board.db1.service.TPatientService;
import com.jzr.board.db1.vo.BedPatientVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TPatientServiceImpl extends ServiceImpl<TPatientMapper,TPatient> implements TPatientService {
    @Autowired
    private MyPatientMapper patientMapper;

    @Override
    public List<BedPatientVo> list(String deptCode) {
        return patientMapper.list(deptCode);
    }
}
